package cn.edu.sdjzu.xg23.kcsj01_backend.mapper;

import cn.edu.sdjzu.xg23.kcsj01_backend.entity.ParticipatingConference;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 张烁瑜
 * @Date 2025/6/3 21:52
 */
@Mapper
public interface ParticipatingConferenceMapper {

    boolean addParticipatingConference(ParticipatingConference participationConference);

    boolean deleteParticipatingConference(Long id);

    boolean updateParticipatingConference(ParticipatingConference participationConference);

    List<ParticipatingConference> selectParticipatingConferencesByCondition(ParticipatingConference participationConference);

    boolean approvalParticipatingConference(@Param("id") Long id, @Param("approvalCode") Long approvalCode);

}